lmx: Tweak format capabilities.
authoroliskoli <oliskoli>
Sat, 25 Aug 2007 20:01:30 +0000 (20:01 +0000)
committeroliskoli <oliskoli>
Sat, 25 Aug 2007 20:01:30 +0000 (20:01 +0000)
lmx.c

diff --git a/lmx.c b/lmx.c
index b6ed6081fea112bc90d47171485efc540518554f..42364b31d711d3909d37e05691386737d1cfcc17 100644 (file)
--- a/lmx.c
+++ b/lmx.c
@@ -94,7 +94,7 @@ lmx_print(const waypoint *wpt)
                gbfprintf(ofd, "        <lm:mediaLink>\n");
                if (wpt->url_link_text)
                        lmx_write_xml(5,"lm:name", wpt->url_link_text);
-               gbfprintf(ofd, "          <lm:url>\%s</lm:url>\n", wpt->url);
+               gbfprintf(ofd, "          <lm:url>%s</lm:url>\n", wpt->url);
                gbfprintf(ofd, "        </lm:mediaLink>\n");
        }
 
@@ -229,7 +229,11 @@ lmx_lm_mlink_e(const char *args, const char **unused)
 
 ff_vecs_t lmx_vecs = {
         ff_type_file,
-       { ff_cap_none, ff_cap_read | ff_cap_write, ff_cap_none},
+       { 
+         ff_cap_read | ff_cap_write,   /* waypoints */
+         ff_cap_none,                  /* tracks */
+         ff_cap_none                   /* routes */
+       },
         lmx_rd_init,
         lmx_wr_init,
         lmx_rd_deinit,